package pl.edu.pk.mech.kkbus.dto;

import java.util.Set;
import pl.edu.pk.mech.kkbus.entities.User;

public class UserWithRole {

    private long id;
    private String name;
    private String surname;
    private Set<User.Role> roles;

    public UserWithRole(long id, String name, String surname, Set<User.Role> roles) {
        this.id = id;
        this.name = name;
        this.surname = surname;
        this.roles = roles;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public Set<User.Role> getRoles() {
        return roles;
    }

    public void setRoles(Set<User.Role> roles) {
        this.roles = roles;
    }
    
}
